package com.aispeech.asr.webase.seaweedfs.client.request;

import com.aispeech.asr.webase.seaweedfs.client.ReplicationStrategy;

public class AssignParams {
    public static final AssignParams DEFAULT = new AssignParams();
    public final ReplicationStrategy replicationStrategy;
    public final int versionCount;
    public final String collection;

    public AssignParams() {
        this(null, 1, null);
    }

    public AssignParams(int versionCount) {
        this(null, versionCount, null);
    }

    public AssignParams(ReplicationStrategy replicationStrategy) {
        this(null, 1, replicationStrategy);
    }

    public AssignParams(String collection, ReplicationStrategy replicationStrategy) {
        this(collection, 1, replicationStrategy);
    }

    public AssignParams(String collection, int versionCount, ReplicationStrategy replicationStrategy) {
        this.collection = collection;
        this.versionCount = versionCount;
        this.replicationStrategy = replicationStrategy;
    }
}
